package net.zypro.sample.model;

/**
 * Created by mac on 15/5/12.
 */
public class Account {
    private String uid;
    private String password;
    private String username;
    private String nickname;

    public Account(){}

    public Account(String uid, String password, String username, String nickname) {
        this.uid = uid;
        this.password = password;
        this.username = username;
        this.nickname = nickname;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    @Override
    public String toString() {
        return String.format("[uid=%s,username=%s,nickname=%s,password=%s]",uid,username,nickname,password);
    }
}
